import http from "../index";

export const getMsgDetailApi = async (id) =>
  await http.get(`msg/get/${id}`);

export const getMsgListApi = async (data) => await http.post('msg/page/list', data)
export const insertMsgApi = async (data) => await http.post('msg/insert', data)
export const updateMsgApi = async (data) => await http.post('msg/update', data)
export const deleteMsgApi = async (data) => await http.post('msg/delete', data)
